package com.xbao.core.util;

import java.util.UUID;

/**
 * Created by qingshengzheng on 15/11/20.
 */
public class IdGenerator {
	
    public static Long nextLong() {
        Long v = System.currentTimeMillis();
        return v;
    }
    
    public static String nextString() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }
}
